//
//  LYVideoFullScreen.h
//  LYLiveApp
//
//  Created by QD on 16/8/30.
//  Copyright © 2016年 览益信息科技. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VHallMoviePlayer.h"
#import "LYInputView.h"

@class LYCommentController;
@class LYVideoNoDataView;

typedef NS_ENUM(NSInteger,FullScreenType) {
    FullScreenTypeShow  = 0,
    FullScreenTypeHidden,
    FullScreenTypeFail
};

typedef NS_ENUM(NSInteger,VideoShareType) {
    VideoShareQQ = 0,
    VideoShareWeChat ,
    VideoShareWeChatFriend,
    VideoShareQQZone,
    VideoShareSina
};

typedef void (^VoiceBlock) (CGFloat value);
typedef void (^DefinitionBlock) (VHallMovieDefinition definition);
typedef void (^LockBlock)(BOOL isLock);
typedef void (^LikeSuccessBlock) (LYIntroduceModel *model);

@interface LYVideoFullScreen : UIView

@property (nonatomic,copy) dispatch_block_t backBlock;
@property (nonatomic,copy) dispatch_block_t refreshBlock;
@property (nonatomic,copy) dispatch_block_t likeBlock;
@property (nonatomic,copy) LikeSuccessBlock likeSuccessBlock;
@property (nonatomic,copy) LockBlock lockBlock;
@property (nonatomic,copy) VoiceBlock voiceBlock;
@property (nonatomic,copy) DefinitionBlock definitionblock;
@property (nonatomic,assign) FullScreenType screenType;
@property (nonatomic,assign) VideoShareType videoShareType;
@property (nonatomic,strong) LYVideoNoDataView *noVideoView;
@property (assign, nonatomic) BOOL isNoVideo;
@property (assign, nonatomic) BOOL isAudio;
@property (strong, nonatomic) UITapGestureRecognizer *showTwoTap;
@property (strong, nonatomic) NSArray *definitionArray;
@property (assign, nonatomic) NSInteger definition;
@property (strong, nonatomic) NSMutableArray *commentArray;
@property (weak, nonatomic) IBOutlet UILabel *titleLab;
@property (nonatomic,strong) LYIntroduceModel *model;
@property (strong, nonatomic) LYInputView *fullScreenInputView;
@property (strong, nonatomic) LYCommentController *commentVC;


+ (instancetype)viewWithXib;
- (void)stopStatementTimer;
- (void)stopRefreshCommentTimer;
- (void)beginRefreshCommentTimer;
@end
